package com.xubeizhi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xubeizhi.common.ResponseResult;
import com.xubeizhi.dto.CommentDTO;
import com.xubeizhi.entity.Comment;

import java.util.List;

/**
 * 博客文章表 服务类
 * @author mi
 * @create 2023/3/2 13:26
 */
public interface CommentService extends IService<Comment> {

    ResponseResult listComment(String keywords);

    ResponseResult deleteBatch(List<Integer> ids);

    //---------web端方法开始---------
    ResponseResult comments(Long articleId);

    ResponseResult addComment(CommentDTO comment);

    ResponseResult repliesByComId(Integer commentId);
}
